projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93f86a2
)
Fix `comp-tests-free-fun'
author
Andrea Corallo
<akrl@sdf.org>
Sat, 22 Feb 2020 10:31:00 +0000
(10:31 +0000)
committer
Andrea Corallo
<akrl@sdf.org>
Sat, 22 Feb 2020 10:45:33 +0000
(10:45 +0000)
Address the case were comp-tests.el is byte-compiled.
test/src/comp-tests.el
patch
|
blob
|
history
diff --git
a/test/src/comp-tests.el
b/test/src/comp-tests.el
index 00a402287408020d0b4fe653b88678d167822577..e4b7a066cc0bb350abed66311313d698aa48cbcf 100644
(file)
--- a/
test/src/comp-tests.el
+++ b/
test/src/comp-tests.el
@@
-325,10
+325,11
@@
Check that the resulting binaries do not differ."
(ert-deftest comp-tests-free-fun ()
"Check we are able to compile a single function."
- (defun comp-tests-free-fun-f ()
- "Some doc."
- (interactive)
- 3)
+ (eval '(defun comp-tests-free-fun-f ()
+ "Some doc."
+ (interactive)
+ 3)
+ t)
(load (native-compile #'comp-tests-free-fun-f))
(should (subr-native-elisp-p (symbol-function #'comp-tests-free-fun-f)))